import { Empty } from "antd"
import img from './空状态.png'
import styles from './index.less'

export default ({ style = { margin: '100px auto 0 auto', }, text = '暂无内容 ', children = <span></span> }) => {
  return <Empty
    className={styles.empty}
    image={img}
    style={style}
    description={
      <span style={{ color: '#fff' }
      } >
        {text}
      </span >
    }
  >
    {children}
  </Empty >
}